package com.dstation.service;

import com.dstation.dao.AdministratorInfoMapper;
import com.dstation.domain.AdministratorInfo;
import com.dstation.service.interf.IAdminLoginService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author Eastward
 * @date 2022/5/8 - 15:28
 */
@Service
public class AdminLoginServiceImpl implements IAdminLoginService {

    @Resource
    private AdministratorInfoMapper administratorInfoMapper;

    @Override
    public AdministratorInfo findAdminInfoByLoginInfo(String adminAccount, String adminPassword) {
        System.out.println();
        return administratorInfoMapper.selectAdminInfoByLoginInfo(adminAccount,adminPassword);
    }
}
